package ru.agiledev.aos.commons.dto;

import java.util.Arrays;
import java.util.List;

/**
 * Created by a.kirillov
 * Date: 11/1/11 Time: 9:08 PM
 */
public enum QType {
    STRUCTURE_DESCRIPTION("STRUCTURE_DESCRIPTION"),
    CHARACTERISTICS_DESCRIPTION("CHARACTERISTICS_DESCRIPTION"),
    WORK_DESCRIPTION("WORK_DESCRIPTION"),
    FUNCTIONS_DESCRIPTION("FUNCTIONS_DESCRIPTION"),
    MISSION_DESCRIPTION("MISSION_DESCRIPTION"),
    USAGE_DESCRIPTION("USAGE_DESCRIPTION"),
    CORRESPONDS_TO_DESCRIPTION("CORRESPONDS_TO_DESCRIPTION"),
    DIFFERENCES_DESCRIPTION("DIFFERENCES_DESCRIPTION"),
    COMMONS_DESCRIPTION("COMMONS_DESCRIPTION"),
    FEATURES_DESCRIPTION("FEATURES_DESCRIPTION"),
    POSSIBILITIES_DESCRIPTION("POSSIBILITIES_DESCRIPTION"),
    GOALS_DESCRIPTION("GOALS_DESCRIPTION"),
    SETS_CHANGES_DESCRIPTION("SETS_CHANGES_DESCRIPTION");

    private String type;

    QType(String s) {
        this.type = s;
    }


    public static List<QType> getTypesAsList(){
        return Arrays.asList(STRUCTURE_DESCRIPTION, CHARACTERISTICS_DESCRIPTION, WORK_DESCRIPTION,
                              FUNCTIONS_DESCRIPTION, MISSION_DESCRIPTION, USAGE_DESCRIPTION,
                              CORRESPONDS_TO_DESCRIPTION, DIFFERENCES_DESCRIPTION, COMMONS_DESCRIPTION,
                              FEATURES_DESCRIPTION, POSSIBILITIES_DESCRIPTION, GOALS_DESCRIPTION, SETS_CHANGES_DESCRIPTION);
    }

}
